package com.cr4y0n.crayonpicturebackend.model.dto.user;

import com.cr4y0n.crayonpicturebackend.common.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;

/**
 * 用户查询请求
 *
 * @author cr4y0n
 * @version 1.0.0
 */
@Data
@ApiModel("用户查询请求")
@EqualsAndHashCode(callSuper = true)
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserQueryRequest extends PageRequest implements Serializable {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("用户昵称")
    private String userName;

    @ApiModelProperty("账号")
    private String userAccount;

    @ApiModelProperty("简介")
    private String userProfile;

    @ApiModelProperty("用户角色：user/admin/ban")
    private String userRole;

    private static final long serialVersionUID = 1L;
}
